//package server;
//
//import com.jayson.server.catalina.HttpServlet;
//import com.jayson.server.catalina.Request;
//import com.jayson.server.catalina.Response;
//
//public class Demo1Servlet extends HttpServlet {
//    @Override
//    public void doGet(Request request, Response response) throws Exception {
//        String content = "<h1>hello 8080 Demo1Servlet two doGet</h1>";
//        response.outWrite200(content);
//    }
//
//    @Override
//    public void doPost(Request request, Response response) throws Exception {
//        String content = "<h1>hello 8080 Demo1Servlet doPost</h1>";
//        response.outWrite200(content);
//    }
//}
